import Vue from 'vue'
import RepairService from "../components/RepairService";

export function checkEvaluate(rule, value, callback){
	if (value==0) {
		return callback(new Error('请评级'));
	}else {
		return callback();
	}

};


export function check(rule, value, callback){
	if (value==null) {
		return callback(new Error('请选择'));
	}else {
		return callback();
	}

};


export function download(){
	return url+'/announcement/announcementPDF'
}